import {createRouter, createWebHistory, RouteRecordRaw, RouterOptions, Router, RouteRecordRaw} from 'vue-router';
// import Home from '../views/Home.vue';
// import Home from '../components/HelloWorld.vue';

const routes: Array<RouteRecordRaw> = [
  { path: '/', component: () => import('../views/Home.vue') },
  { path: '/index', component: () => import('../components/HelloWorld.vue') }
];
const options: RouterOptions = {
  history: createWebHistory(),
  routes
};
const router: Router = createRouter(options)

export default router;
